/*
* $Id: CheckBoxDraw.h 86 2010-05-12 17:32:35Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _CHECKBOX_DRAW_H_
#define _CHECKBOX_DRAW_H_

#include "DrawControl.h"

class CCheckBoxDraw : public CDrawControl
{
private:
	bool m_bCheck;
protected:
	virtual void Resize();
	virtual void PaintActive(CDC* dc);
	virtual void PaintNonActive(CDC* dc);
public:
	CCheckBoxDraw(const std::tstring& strName);
	virtual ~CCheckBoxDraw();
public:
	virtual void SetPos(CPoint pos);
	virtual std::tstring GetValue();
	virtual bool ProcessMouse(unsigned int nChar, CPoint pos, int param);
public:
	void ChangeValue();
};

#endif/*_CHECKBOX_DRAW_H_*/